package com.ruoyi.business.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生绑定总对象 t_binding
 * 
 * @author lcz
 * @date 2025-03-31
 */
@ApiModel("学生绑定总对象")
public class Binding extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 绑定ID */
    @ApiModelProperty("绑定ID")
    private Long id;

    /** 学校ID */
    @Excel(name = "学校ID")
    @ApiModelProperty("学校ID")
    private Long schoolId;

    /** 学生账号 */
    @Excel(name = "学生账号")
    @ApiModelProperty("学生账号")
    private String account;

    /** 用户ID */
    @Excel(name = "用户ID")
    @ApiModelProperty("用户ID")
    private Long userId;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    @ApiModelProperty("学生姓名")
    private String studentName;

    /** 编码 */
    @Excel(name = "编码")
    @ApiModelProperty("编码")
    private String code;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSchoolId(Long schoolId) 
    {
        this.schoolId = schoolId;
    }

    public Long getSchoolId() 
    {
        return schoolId;
    }
    public void setAccount(String account) 
    {
        this.account = account;
    }

    public String getAccount() 
    {
        return account;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("schoolId", getSchoolId())
            .append("account", getAccount())
            .append("userId", getUserId())
            .append("studentName", getStudentName())
            .append("code", getCode())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
